package sz;

import sz.factory.IOperationFactory;

public class Operationjia extends Operation implements IOperationFactory {
    @Override
    public Operation createOperation() {
        return new Operationjia();
    }

    //加法
    @Override
    public double getResult() {
        return num1+num2;
    }
}
